<%= form_for @obj do %>
  <%= text_field(:foo) %>
  <%= fields_for @obj2 do %>
    <%= text_field(:foo) %>
  <% end =%>
  <%= text_field(:foo, :extra => "true") %>
<% end =%>
